<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>句容机关工委网站管理后台</title>
        <link rel="stylesheet" href="../style/reset.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/style.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/invalid.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/master/listColumn.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../js-plugin/jquery-ui/jquery-ui.css" type="text/css" />
        <link rel="stylesheet" href="../style/msgbox.css" type="text/css" />
        <!--                       Javascripts                       --><!-- jQuery -->
        <script type="text/javascript" src="../js-plugin/jquery-1.6.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery-ui/jquery-ui.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.tmpl.min.js">
        </script>
        <!-- jQuery Configuration -->
        <script type="text/javascript" src="../js-plugin/simpla.jquery.configuration.js">
        </script>
        <!-- Facebox jQuery Plugin -->
        <script type="text/javascript" src="../js-plugin/facebox.js">
        </script>
        <!-- confirm jQuery Plugin -->
        <script src="../js-plugin/jquery.easy-confirm-dialog.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.form.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.validate.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/additional-methods.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.template.js">
        </script>
        <script src="../js-plugin/tpl.js">
        </script>
        <script src="../js/master/ColumnList.js">
        </script>
        <style>
            #editColForm .button_fix {
                margin: -4px 0 0 10px;
            }
        </style>
    </head>
    <body>
        <div class="loadingbox clearfix">
        </div>
        <div id="main-content">
            <div class="content-box">
                <!-- Start Content Box -->
                <div class="content-box-header">
                    <h3>网站专题管理</h3>
                    <div class="bulk-actions align-right20">
                        <a class="button addChild" href="#editColForm" rel="modal" tabindex="-1">增加根专题</a>
						<a class="button addChild" href="#editColForm" rel="modal" tabindex="-1">增加专题</a>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="content-box-content">
                    <div class="tab-content default-tab">
                        <div class="notification attention png_bg" style="display:none">
                            <a href="#" class="close"><img src="/images/manage/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
                            <div class="errormsg">错误信息</div>
                        </div>
                        <div>
                            <ul id="columntree">
                                <#list columnlist as column>
                                <li id="col${column.id?c}" style="padding-left:${(29*column.deep)+10}px;">
                                    <span><a href="#editColForm" rel="modal" class="addChild" tabindex="${column.id?c}">增加子专题</a> | <a href="#editColForm" rel="modal" class="editBtn" tabindex="${column.id?c}">修改</a> | <a href="${column.id?c}" class="deleteBtn" title="您确定删除该栏目么？该栏目中的文章也被同步删除。">删除</a></span>
                                    <label>${column.columnname}</label>
                                </li>
                                </#list>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="editColForm" style="display:none">
            <h3 class="tmp_title_text">添加专题</h3>
            <form id="editCol" name="editCol" method="post" action="/action/master/addColumns">
                <input type="hidden" id="parentid" name="parentid" /><input type="hidden" id="id" name="id" />
                <p>
                    <label class="inline">
                        父专题：
                    </label>
                    <span class="tmp_parent_name">某个父专题的名称</span>
                </p>
                <p>
                    <label class="inline">
                        专题名称：
                    </label>
                    <input class="text-input medium-input" type="text" id="columnname" name="columnname" value="" /><a class="button button_fix bsaveBtn" href="#"> 保 存 </a>
                </p>
            </form>
            <div class="notification png_bg msgbox">
                <a href="#" class="close"><img src="/images/manage/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
                <div class="errormsgbox">
                    错误信息
                </div>
            </div>
        </div>
    </body>
</html>
